package com.liuguang.api.article.pojo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: ArticleDo
 * @Description：
 * @Author: wanghr
 * Date: 11:46 AM 2020/10/19
 * Version: 1.0
 */
@Data
@ToString
public class ArticleDo implements Serializable {
    private static final long serialVersionUID = 6382581736245285141L;
    /**
     * 文章主键
     */
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 文章名
     */
    private String articleName;
    /**
     * 文章概要
     */
    private String articleEpitome;
    /**
     *
     */
    private String articlePicture;
    /**
     * 作者名称
     */
    private String articleAuthor;
    /**
     * '文章类型：0：正常文章；1：草稿'
     */
    private Byte articleType;
    /**
     * 点赞数
     */
    private Integer likeCount;
    /**
     * 评论数
     */
    private Integer commentCount;
    /**
     * 是否有效数据
     */
    private Byte isDeleted;

    private Date createTime;

    private Date updateTime;


}
